import { createApp } from 'vue'
// import './style.css'
import './theme.css'
import App from './App.vue'
import router from './router';
import 'element-plus/theme-chalk/index.css'
import { formatDate } from './utils/dateUtils';

const app = createApp(App);

// 将 formatDate 方法添加到 Vue 的原型上  
app.config.globalProperties.$formatDate = formatDate;

app.use(router);

app.mount('#app');
